package io.renren.modules.course.dao;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import io.renren.common.utils.PageUtils;
import io.renren.modules.course.entity.CourseEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.course.entity.TreeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 技术名称列表
 * 
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-07-04 09:29:28
 */
public interface CourseDao extends BaseMapper<CourseEntity> {
	List selectCourseList(Map<String, Object> params);
	int selectTotalCount();

    List<TreeEntity> getCourseTreeByClassIficationId(Long classIfcitonId);

    void online(Map map);

    List<TreeEntity> queryCourseList(@Param("searching") String searching,@Param("userId")Long userId);
}
